<script src="/js/plugins/validation/jquery.validate.min.js"></script>
<script src="/js/plugins/validation/additional-methods.min.js"></script>
<div class="row-fluid">


    <div class="span12">
        <div class="box box-color box-bordered">
            <form action="<?php echo url_for('adminusers/setStoresPermissions'); ?>" method="post" id="storesPermissions">
    <input type="hidden" name="usuario[id_users]" value="<?php echo $user[0]['id_users']; ?>" />
    
            <div class="box-title">
                <h3>
                    <i class="icon-user"></i>
                    Edita Usuario
                </h3>
                <div class="actions">
                    <button class="btn"><i class="icon-plus-sign"></i> Guardar </button>
                </div>
            </div>
            <div class="box-content nopadding">
                <ul class="tabs tabs-inline tabs-top">
                    <li>
                        <a href="<?php echo url_for('adminusers/editUsers'); ?>?id=<?php echo $user[0]['id_users']; ?>"><i class="icon-user"></i> Información</a>
                    </li>
                    <li class='active'>
                        <a href="<?php echo url_for('adminusers/editUsersLocales'); ?>?id=<?php echo $user[0]['id_users']; ?>"><i class="icon-bullhorn"></i> Locales</a>
                    </li>
                    
                </ul>
                
                <?php include_partial('editUsersTabsLocales', array("user" => $user, "stores" => $stores));?>
            </div>
            </form>
        </div>
    </div>
</div>